import { Component } from "react";
import withDelay from "../hocs/withDelay";
import withContext from "../hocs/withContext";

interface IProps {
  msg: string;
}

class About extends Component<IProps> {
  render() {
    return (
      <div>
        About - {this.props.msg} - {this.props.extra.num}
      </div>
    );
  }
}

export default withContext(withDelay(About, 2000));
